package com.example.photography.Activity.Edit;

import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.example.photography.R;
import com.example.photography.common.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;

public class Edit_phone extends BaseActivity {


    @BindView(R.id.iv_back)
    ImageView ivBack;
    @BindView(R.id.tv_title)
    TextView tvTitle;
    @BindView(R.id.rl_title)
    RelativeLayout rlTitle;
    @BindView(R.id.et_telphone)
    EditText etTelphone;
    @BindView(R.id.tv_code)
    TextView tvCode;
    @BindView(R.id.et_code1)
    EditText etCode1;
    @BindView(R.id.et_code2)
    EditText etCode2;
    @BindView(R.id.et_code3)
    EditText etCode3;
    @BindView(R.id.et_code4)
    EditText etCode4;
    @BindView(R.id.iv_confirm)
    ImageView ivConfirm;

    @Override
    protected void initData() {
        initView();


    }

    private void initView() {
        initListen();
        tvTitle.setText("更换手机号");

    }

    private void initListen() {
        ivBack.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                removeCurrentActivity();
            }
        });

    }

    @Override
    protected int getLayoutId() {
        return R.layout.edit_phone;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }
}
